package com.ybkj.daijia.server.event.model.freight;

import com.ybkj.daijia.server.freight.Order;
import com.ybkj.daijia.server.model.Driver;
import org.springframework.context.ApplicationEvent;


public class FreightOrderAcceptEvent extends ApplicationEvent {

    /**
     *
     */
    private static final long serialVersionUID = -878270509096402687L;

    private Driver driver;

    public FreightOrderAcceptEvent(Order source, Driver driver) {
        super(source);
        this.driver = driver;
    }

    public Driver getDriver() {
        return driver;
    }

    public void setDriver(Driver driver) {
        this.driver = driver;
    }

}
